package com.wx.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wx.dao.WxTextReplyMapper;
import com.wx.entity.WxTextReply;
import com.wx.entity.WxTextReplyExample;
import com.wx.service.WxTextReplyService;

@Service("WxTextReplyService")
public class WxTextReplyImpl implements WxTextReplyService {
	@Resource
	private WxTextReplyMapper wxTextReplyMapper;

	@Override
	public int insert(WxTextReply wxTextReply) {
		return wxTextReplyMapper.insert(wxTextReply);
	}

	@Override
	public List<WxTextReply> selectByExample(WxTextReplyExample example) {
		return wxTextReplyMapper.selectByExample(example);
	}
	@Override
	public WxTextReply selectByPrimaryKey(Integer id) {
		return wxTextReplyMapper.selectByPrimaryKey(id);
	}
	@Override
	public int countByExample(WxTextReplyExample example) {
		return wxTextReplyMapper.countByExample(example);
	}
	@Override
	public int updateByExample(WxTextReply record, WxTextReplyExample example) {
		return wxTextReplyMapper.updateByExample(record, example);
	}
	@Override
	public int updateByPrimaryKey(WxTextReply record) {
		return wxTextReplyMapper.updateByPrimaryKey(record);
	}
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return wxTextReplyMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int deleteByPrimaryKey(WxTextReplyExample example) {
		return wxTextReplyMapper.deleteByExample(example);
	}
}
